package com.ruoyi.domain;

import java.time.LocalDateTime;

public class TheWarningNotification {

    private Long userId;
    private String metricType;
    private String triggerValue;
    private String warningLevel;
    private String notifyContent;
    private LocalDateTime triggerTime;
    private boolean readStatus;

    // Getter 和 Setter 方法

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getMetricType() {
        return metricType;
    }

    public void setMetricType(String metricType) {
        this.metricType = metricType;
    }

    public String getTriggerValue() {
        return triggerValue;
    }

    public void setTriggerValue(String triggerValue) {
        this.triggerValue = triggerValue;
    }

    public String getWarningLevel() {
        return warningLevel;
    }

    public void setWarningLevel(String warningLevel) {
        this.warningLevel = warningLevel;
    }

    public String getNotifyContent() {
        return notifyContent;
    }

    public void setNotifyContent(String notifyContent) {
        this.notifyContent = notifyContent;
    }

    public LocalDateTime getTriggerTime() {
        return triggerTime;
    }

    public void setTriggerTime(LocalDateTime triggerTime) {
        this.triggerTime = triggerTime;
    }

    public boolean getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(boolean readStatus) {
        this.readStatus = readStatus;
    }
    @Override
    public String toString() {
        return "TheWarningNotification{" +
                "userId=" + userId +
                ", metricType='" + metricType + '\'' +
                ", triggerValue='" + triggerValue + '\'' +
                ", warningLevel='" + warningLevel + '\'' +
                ", notifyContent='" + notifyContent + '\'' +
                ", triggerTime=" + triggerTime +
                ", readStatus=" + readStatus +
                '}';
    }
}


